;;; init-packages.el --- Packages -*- lexical-binding: t -*-
;;; Commentary:

;;; Code:
(require 'use-package-ensure)
(require 'global)

(setopt
  package-archives '(("gnu"    . "https://mirrors.bfsu.edu.cn/elpa/gnu/")
                     ("nongnu" . "https://mirrors.bfsu.edu.cn/elpa/nongnu/")
                     ("melpa"  . "https://mirrors.bfsu.edu.cn/elpa/melpa/"))
  use-package-always-ensure t)

(add-to-list 'load-path user-emacs-config-packages-dir)

(require-features
  'use-auto-dark
  'use-company
  'use-default-text-scale
  'use-envrc
  'use-evil
  'use-flycheck
  'use-inheritenv
  'use-ivy
  'use-macrostep
  'use-major-modes
  'use-nerd-icons
  'use-projectile
  'use-rainbow-delimiters
  'use-smartparens
  'use-telephone-line
  'use-themes
  'use-treemacs
  'use-vterm
  )

(provide 'init-packages)
;;; init-packages.el ends here
